home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / mint / lib / mlib41d.zoo / diffh < prev    next >
Text File  |  1993-11-01  |  5KB  |  135 lines

  1. *** 40.1    1993/10/30 09:36:28
  2. --- ./PatchLev.h    1993/10/30 10:29:40
  3. ***************
  4. *** 3,6 ****
  5.    *    directory.
  6.    */
  7.   
  8. ! #define PatchLevel "40"
  9. --- 3,6 ----
  10.    *    directory.
  11.    */
  12.   
  13. ! #define _PatchLevel "41"
  14. *** 40.1    1993/10/30 10:18:50
  15. --- ./errno.h    1993/10/31 11:03:20
  16. ***************
  17. *** 46,52 ****
  18.   #define EOTHER         EIDISK        /*    "    "   */
  19.                       /* (gap) */
  20.   #define    EINVAL         32        /* invalid function number */
  21. - #define    EOPNOTSUPP     EINVAL        /*    "       "        "   */
  22.   #define    ENOENT         33        /* file not found */
  23.   #define ESRCH         ENOENT        /* pid not found */
  24.   #define ECHILD         ENOENT        /* no children (wait/waipid) */
  25. --- 46,51 ----
  26. ***************
  27. *** 87,92 ****
  28. --- 86,131 ----
  29.   #define ENOSPC         91        /* disk full */
  30.   
  31.   #define EINTR            128        /* this *should* be fake */
  32. + #ifdef __MINT__
  33. + /* Network error numbers -- only useful with Kay Roemer's socket library */
  34. + #define _NE_BASE 300
  35. + #define    ENOTSOCK    (_NE_BASE + 0)    /* Socket operation on non-socket */
  36. + #define    EDESTADDRREQ    (_NE_BASE + 1)    /* Destination address required */
  37. + #define    EMSGSIZE    (_NE_BASE + 2)    /* Message too long */
  38. + #define    EPROTOTYPE    (_NE_BASE + 3)    /* Protocol wrong type for socket */
  39. + #define    ENOPROTOOPT    (_NE_BASE + 4)    /* Protocol not available */
  40. + #define    EPROTONOSUPPORT    (_NE_BASE + 5)    /* Protocol not supported */
  41. + #define    ESOCKTNOSUPPORT    (_NE_BASE + 6)    /* Socket type not supported */
  42. + #define    EOPNOTSUPP    (_NE_BASE + 7)    /* Operation not supported */
  43. + #define    EPFNOSUPPORT    (_NE_BASE + 8)    /* Protocol family not supported */
  44. + #define    EAFNOSUPPORT    (_NE_BASE + 9)    /* Address family not supported by
  45. +                         protocol */
  46. + #define    EADDRINUSE    (_NE_BASE + 10)    /* Address already in use */
  47. + #define    EADDRNOTAVAIL    (_NE_BASE + 11)    /* Cannot assign requested address */
  48. + #define    ENETDOWN    (_NE_BASE + 12)    /* Network is down */
  49. + #define    ENETUNREACH    (_NE_BASE + 13)    /* Network is unreachable */
  50. + #define    ENETRESET    (_NE_BASE + 14)    /* Network dropped conn. because of
  51. +                         reset */
  52. + #define    ECONNABORTED    (_NE_BASE + 15)    /* Software caused connection abort */
  53. + #define    ECONNRESET    (_NE_BASE + 16)    /* Connection reset by peer */
  54. + #define    EISCONN        (_NE_BASE + 17)    /* Socket is already connected */
  55. + #define    ENOTCONN    (_NE_BASE + 18)    /* Socket is not connected */
  56. + #define    ESHUTDOWN    (_NE_BASE + 19)    /* Cannot send after shutdown */
  57. + #define    ETIMEDOUT    (_NE_BASE + 20)    /* Connection timed out */
  58. + #define    ECONNREFUSED    (_NE_BASE + 21)    /* Connection refused */
  59. + #define    EHOSTDOWN    (_NE_BASE + 22)    /* Host is down */
  60. + #define    EHOSTUNREACH    (_NE_BASE + 23)    /* No route to host */
  61. + #define    EALREADY    (_NE_BASE + 24)    /* Operation already in progress */
  62. + #define    EINPROGRESS    (_NE_BASE + 25)    /* Operation now in progress */
  63. + #define EWOULDBLOCK    (_NE_BASE + 26)    /* Operation would block */
  64. + #define _NE_MAX        EWOULDBLOCK
  65. + #endif
  66.   
  67.   #ifndef AssemB
  68.   extern    int    errno;
  69. *** 40.1    1993/10/30 10:18:50
  70. --- ./osbind.h    1993/10/31 09:10:26
  71. ***************
  72. *** 94,99 ****
  73. --- 94,108 ----
  74.    *    this with -fomit-frame-pointer was causing the temps (from evaluing
  75.    *    the args) to be created on the stack, but when we changed sp
  76.    *    from under gccs feet, the offsets  to the temps ended up being wrong.
  77. +  *
  78. +  * 10/28/93 ++jrb
  79. +  *    relax the constraints on the inputs of trap_14_wwwwwww (only
  80. +  *    Rsconf maps to this)  to "g" from "r", as these many "r" 's
  81. +  *    give gcc 2.>3.X heartaches (understandably). note this is ok
  82. +  *    since these args will never be expressions, and we never
  83. +  *    have to constrain hard enough to force eval before we change
  84. +  *    sp from underneath gcc.
  85. +  *
  86.    */
  87.   
  88.   #ifndef _OSBIND_H
  89. ***************
  90. *** 115,123 ****
  91.   
  92.   /* we supply a library of bindings for TurboC / PureC */
  93.   
  94. ! long    gemdos( void, ... );
  95. ! long    bios( void, ... );
  96. ! long    xbios( void, ... );
  97.   
  98.   /* Gemdos prototypes */
  99.   
  100. --- 124,132 ----
  101.   
  102.   /* we supply a library of bindings for TurboC / PureC */
  103.   
  104. ! long    gemdos( short, ... );
  105. ! long    bios( short, ... );
  106. ! long    xbios( short, ... );
  107.   
  108.   /* Gemdos prototypes */
  109.   
  110. ***************
  111. *** 1372,1379 ****
  112.           trap    #14;    \
  113.           lea    sp@(14),sp "                    \
  114.       : "=r"(retvalue)            /* outputs */        \
  115. !     : "g"(n), "r"(_a),                        \
  116. !       "r"(_b), "r"(_c), "r"(_d), "r"(_e), "r"(_f)    /* inputs  */    \
  117.       : "d0", "d1", "d2", "a0", "a1", "a2", "memory"            \
  118.       );                                \
  119.       retvalue;                            \
  120. --- 1381,1388 ----
  121.           trap    #14;    \
  122.           lea    sp@(14),sp "                    \
  123.       : "=r"(retvalue)            /* outputs */        \
  124. !     : "g"(n), "g"(_a),                        \
  125. !       "g"(_b), "g"(_c), "g"(_d), "g"(_e), "g"(_f)    /* inputs  */    \
  126.       : "d0", "d1", "d2", "a0", "a1", "a2", "memory"            \
  127.       );                                \
  128.       retvalue;                            \
  129.